package 博客.适配器模式;

public class Client {
    public static void main(String[] args) {
        V220 v220 = new V220();//220V电压
        AdapterImpl adapter = new AdapterImpl(v220);//聚合方式传入
        //向适配器拿5V电压
        adapter.pop();
    }
}
